package com.eight.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eight.common.pojo.AclUser;
import com.eight.system.vo.AclUserVo;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import java.security.AlgorithmConstraints;

/**
 * @author 向文豪
 * @program: eight-education-parent
 * @description:
 * @date 2023/5/22 20:35
 */
public interface UserService {
    public AclUser FindByNameAndPwd(String username,String password);

    Page<AclUser> findPage(Integer currentSize, Integer pageSize, AclUserVo aclUserVo);

    int updateStatus(String id, Integer status);

    int deleteUserById(String id);

    int updateUserByUser(AclUser aclUser);

    int addUserByUser(AclUser aclUser);

    int updateUserPassword(String id ,String oldPassword, String newPassword);
}
